//
//  LGNavgationBar.h
//  UniverseProject
//
//  Created by king on 2019/9/4.
//  Copyright © 2019年 Cloud2209. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class LGNavgationBar;
@protocol LGNavgationBarDelegate <NSObject>

- (void)lgNavBar:(LGNavgationBar *)bar didClickIndex:(NSInteger)index;

@end



@interface LGNavgationBar : UIView

@property (nonatomic, assign)BOOL showBackBtn;
@property (nonatomic, weak)UILabel *titleLab;
@property (strong,nonatomic) NSArray *rightItems;
@property (strong,nonatomic) NSMutableArray *rightViewItems;
@property (nonatomic, weak)id<LGNavgationBarDelegate> delegate;

+ (instancetype)loadBarWithView:(UIView *)view;

@end

NS_ASSUME_NONNULL_END
